package com.syn.mail.member;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 远程调用
 * 1.jar依赖
 * 2.调用接口
 * 3.@EnableFeignClients
 */
@EnableFeignClients(basePackages = "com.syn.mail.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class MailMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(MailMemberApplication.class, args);
    }

}
